package com.ruoyi.app.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 验券记录对象 app_voucher_verification
 * 
 * @author dreamyy
 * @date 2025-11-26
 */
public class AppVoucherVerification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 房间ID */
    @Excel(name = "房间ID")
    private Long roomId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 平台 */
    @Excel(name = "平台")
    private String platform;

    /** 券码 */
    @Excel(name = "券码")
    private String voucherCode;

    /** 验券图片 */
    @Excel(name = "验券图片")
    private String screenshotUrl;

    /** 验证结果 */
    @Excel(name = "验证结果")
    private Integer verifyResult;

    /** 验券时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验券时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date verifyTime;

    /** 是否删除 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }

    public void setVoucherCode(String voucherCode) 
    {
        this.voucherCode = voucherCode;
    }

    public String getVoucherCode() 
    {
        return voucherCode;
    }

    public void setScreenshotUrl(String screenshotUrl) 
    {
        this.screenshotUrl = screenshotUrl;
    }

    public String getScreenshotUrl() 
    {
        return screenshotUrl;
    }

    public void setVerifyResult(Integer verifyResult) 
    {
        this.verifyResult = verifyResult;
    }

    public Integer getVerifyResult() 
    {
        return verifyResult;
    }

    public void setVerifyTime(Date verifyTime) 
    {
        this.verifyTime = verifyTime;
    }

    public Date getVerifyTime() 
    {
        return verifyTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("roomId", getRoomId())
            .append("userId", getUserId())
            .append("platform", getPlatform())
            .append("voucherCode", getVoucherCode())
            .append("screenshotUrl", getScreenshotUrl())
            .append("verifyResult", getVerifyResult())
            .append("verifyTime", getVerifyTime())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
